Skip to content

Conversation

@maxhungry
Copy link
Contributor

Fix the following LoadError for Ruby 3.1+ 🙂

/Users/maxhungry/.local/share/mise/installs/ruby/3.4.2/lib/ruby/gems/3.4.0/gems/classifier-1.4.4/lib/classifier/extensions/vector.rb:6: warning: matrix was loaded from the standard library, but is not part of the default gems starting from Ruby 3.1.0.
You can add matrix to your Gemfile or gemspec to silence this warning.
Also please contact the author of classifier-1.4.4 to request adding matrix into its gemspec.
/Users/maxhungry/.local/share/mise/installs/ruby/3.4.2/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- matrix (LoadError)

Copy link
Owner

@cardmagic cardmagic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - valid fix for Ruby 3.1+ compatibility where matrix was removed from default gems.

@cardmagic cardmagic merged commit 5ceb182 into cardmagic:master Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants